const model = {
  key: "taobao",
  name: "淘宝API",
  group: ["shop", "alibaba"],

  libs: [
    {
      key: "taobaoSdk",
      name: "taobaoSdk",
      href: "https://github.com/mbxc/node-topsdk",
    },
  ],
  config: {
    appKey: {
      key: "appKey",
      value: "",
      description: "appKey",
      remark: "",
      required: true,
    },
    appSecret: {
      key: "appSecret",
      value: "",
      description: "appSecret",
      remark: "",
      required: true,
    },
  },
  template: [
    {
      key: "base",
      name: "基础",
      input: {},
      output: {},
      url: "/api/libs/taobao/base.js",
    },
  ],
};

module.exports = model;
